package com.kgc.sbt.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created on 2021/8/10.
 * <p>
 * Author: songhe
 * <p>
 * Description:微信支付统一配置信息类
 */
@Data
@Component
@ConfigurationProperties(prefix = "wechat.pay")
public class WxpayConfig {

    /**
     * 应用id
     */
    private String appId;
    /**
     * 商户id
     */
    private String mchId;
    /**
     * 商户密钥
     */
    private String mchKey;
    /**
     * 生成订单
     */
    private String orderUrl;
    /**
     * 应用id
     */
    private String notifyUrl;

    /**
     * 查询订单
     */
    private String queryOrderUrl;
}
